Endpoint Flags
Open Transport uses theflags
field of theTEndpointInfo
structure (page 3-48) to specify additional information about the endpoint. The constant names that Open Transport can return for this field are given by the endpoint flags enumeration:
enum { T_SENDZERO = 0x001, T_XPG4_1 = 0x002, T_CAN_SUPPORT_MDATA= 0x10000000, T_CAN_RESOLVE_ADDR= 0x40000000, T_CAN_SUPPLY_MIB = 0x20000000 };Constant descriptions
T_SENDZERO
- This endpoint lets you send and receive zero-length TSDUs.
T_XPG4_1
- This endpoint supports the
OTGetProtAddress
function.T_CAN_
SUPPORT_MDATA- This endpoint supports
M_DATA
, that is, it permits sending raw packets. This is Streams-specific and is found in themistreams.h
header file. When you send such a packet, set the packet'saddr.buf
field to a null value and set itsaddr.len
field to -1. This indicates that the data portion of theTUnitData
structure already has the header information in it.T_CAN_RESOLVE_ADDR
- This endpoint supports the
OTResolveAddress
function.T_CAN_SUPPLY_MIB
- This endpoint can supply the Management Information Base (MIB) data used by the Simple Network Management Protocol (SNMP)
.